package com.sky.service.impl;

import com.sky.constant.StatusConstant;
import com.sky.entity.Setmeal;
import com.sky.mapper.SetmealMapper;
import com.sky.service.SetmealService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class SetmealServiceImpl implements SetmealService {

    @Autowired
    private SetmealMapper setmealMapper;


    @Override
    public List<Setmeal> setmeallist(Integer categoryId) {

        Setmeal setmeal = new Setmeal();
        Integer status = setmeal.getStatus();

        List<Setmeal> list = setmealMapper.setmeallist(categoryId);
        return list;
    }
}
